package com.ruoyi.project.system.domain;

import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 员工对象 sys_person
 *
 * @author theme
 * @date 2020-06-24
 */
public class SysPerson extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 用户id
     */
    private Long personId;

    /**
     * 店id
     */
    @ApiModelProperty(name = "店id")
    private Long deptId;

    /**
     * $column.columnComment
     */
    @ApiModelProperty(name = "店id")
    private String name;

    /**
     * 手机号码
     */
    @ApiModelProperty(name = "手机号码")
    private String phone;

    /**
     * 性别
     */
    @ApiModelProperty(name = "性别")
    private String sex;

    /**
     * $column.columnComment
     */
    private String delFlag;

    public void setPersonId(Long personId) {
        this.personId = personId;
    }

    public Long getPersonId() {
        return personId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPhone() {
        return phone;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getSex() {
        return sex;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getDelFlag() {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("personId", getPersonId())
                .append("deptId", getDeptId())
                .append("name", getName())
                .append("phone", getPhone())
                .append("sex", getSex())
                .append("delFlag", getDelFlag())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
